//
//  KCServiceConstant.h
//  Jade
//
//  Created by king on 16/8/8.
//  Copyright © 2016年 KC. All rights reserved.
//

#pragma mark - CODE

enum HTTPResultType {
    /** 微博 */
    HTTPResultType_1 = 1,
    /** 鉴定 */
    HTTPResultType_2 = 2,
    /** 买卖 */
    HTTPResultType_3 = 3,
    /** 话题微博 */
    HTTPResultType_4 = 4,
    /** 严选 */
    HTTPResultType_5 = 5,
    /** 租借 */
    HTTPResultType_6 = 6,
    /** 定制 */
    HTTPResultType_7 = 7,

};

enum HTTPResultCode {
    
    /** 成功 */
    HTTPResultCode_100 = 100,
    /** 失败 */
    HTTPResultCode_101 = 101,
    /** 参数不完整 */
    HTTPResultCode_102 = 102,
    /** 无匹配的数据返回 */
    HTTPResultCode_103 = 103,
    /** token失效 */
    HTTPResultCode_201 = 201,
    /** 账户不存在 */
    HTTPResultCode_202 = 202,
    /** 账号或密码错误 */
    HTTPResultCode_206 = 206,
    /** 验证码有误 */
    HTTPResultCode_207 = 207,
    /** 密码不一致 */
    HTTPResultCode_208 = 208,
    /** 电话已被占用 */
    HTTPResultCode_209 = 209,
    /** 不能关注自己 */
    HTTPResultCode_401 = 401,
    /** 重复请求 */
    HTTPResultCode_402 = 402,
    /** 发布买卖无联系方式 */
    HTTPResultCode_403 = 403,
    /** 用户被禁言 */
    HTTPResultCode_409 = 409,
    /** 注册失败 */
    HTTPResultCode_601 = 601,
    
};

#pragma mark - HOST

extern NSString *const HOST_URL;

extern NSString *const DEBUG_HOST_URL;

extern NSString *const HOST_IMAGE_URL;

extern NSString *const DEBUG_HOST_IMAGE_URL;


extern NSInteger const PAGE_NUM;

extern NSInteger const PAGE_NUM_15;

extern NSInteger const PAGE_NUM_20;


extern NSString *const PAGE_COUNT;

extern NSString *const HALF_PAGE_COUNT;

#pragma mark 字段

extern NSString *const KC_URL;
//
extern NSString *const KC_PARAMS_DATA;
//
extern NSString *const KC_FILE_PATH;
//
extern NSString *const KC_UPLOAD_DATA;

extern NSString *const HttpPage;
extern NSString *const HttpResult;
extern NSString *const HttpResultData;
extern NSString *const HttpResultInfo;
extern NSString *const HttpResultList;



#pragma mark - 首页
extern NSString *const KCServiceHome;

#pragma mark - 首页轮播图
extern NSString *const KCServiceHomeBanner;


#pragma mark - 头条
extern NSString *const KCServiceHomeNews;







